﻿using System;
using IPCChannel;
using UProveAPI;

namespace Issuer
{
    public class Program
    {
        static void Main(string[] args)
        {
            string verifierIp = "127.0.0.1";
            int verifierPort = 8080;

            Console.WriteLine("Press [ENTER] to exit.\n");

            IIPCClient ipcClient = new UProveTCPClient("127.0.0.1", 8060);
            UProveAPI.Issuer issuer = new UProveAPI.Issuer(ipcClient, verifierIp, verifierPort);
            issuer.Start();
     
            Console.ReadKey();
            ipcClient.Dispose();
        }
    }
}
